From 77bba7cc2e21752b8d2e5d2812ba8427537d4b22 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 19 Jan 2001 13:50:52 +0000 Subject: [PATCH] (font-lock-default-fontify-region): Fix last change. --- lisp/font-lock.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 5316b110995..188b5de7fe8 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -1212,10 +1212,10 @@ The value of this variable is used when Font Lock mode is turned on." (point-min))) (goto-char beg) (setq beg (line-beginning-position))) - (setq end (or (and font-lock-multiline - (text-property-any end (point-max) - 'font-lock-multiline nil)) - (point-max))) + (when font-lock-multiline + (setq end (or (text-property-any end (point-max) + 'font-lock-multiline nil) + (point-max)))) (goto-char end) (setq end (line-beginning-position 2)) ;; Now do the fontification. -- 2.30.2